package cate.common.table.res.eathero.sheet;

import cate.common.table.ESheet;
import cate.common.table.res.eathero.row.EatHeroUpgradeRow;

public class EatHeroUpgradeSheet extends ESheet<EatHeroUpgradeRow> {
    @Override
    public String getSheetName() {
        return "升级";
    }

    public EatHeroUpgradeRow onGetRow(int level) {
        for (EatHeroUpgradeRow row : list) {
            if (row.level == level) {
                return row;
            }
        }
        return null;
    }
}
